<?php
require_once('PHPUnit/Framework.php');
require_once("../SMTransmitter/SMTransmitter.class.php");
require_once("../SMTransmitter/Reporter.interface.php");
require_once("../SMTransmitter/CurlReporter.class.php");
require_once("../SMTransmitter/SMMessage.class.php");
require_once("../SMTransmitter/Converter.class.php");

class SMTransmitterTest extends PHPUnit_Framework_TestCase{
    private $dao=null;

    protected function setUp(){
        $this->dao = new SMTransmitter(new CurlReporter());
    }

    public function testSetReporter(){
        $result = $this->dao->setReporter(new CurlReporter());
        $this->assertEquals($result, true, "error: data mangled.");
    }
}

?>